﻿using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;

namespace GDoc.Domain
{
    public class User : BaseEntity
    {
        public User()
        {
            Accounts = new List<UserRoleInAccount>();
        }

        public virtual string Email { get; set; }
        
        public virtual string Password { get; set; }

        public virtual ICollection<UserRoleInAccount> Accounts { get; set; }

        public virtual string Theme { get; set; }

        public virtual ICollection<UserGroup> Groups { get; set; }
    }
}
